]> dgit.raspbian.org Git - gnome-shell.git/commit
ibus-candidate-popup: Scale coordinates from IBus
authorJonas Ådahl <jadahl@gmail.com>
Thu, 29 Aug 2024 13:26:39 +0000 (15:26 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 30 Aug 2024 20:14:55 +0000 (20:14 +0000)
commit6982f2daaef184e7cb9ccf1f5259f971b42c3e57
tree5992812265cc1609f2452fb421f383d9bd5ede5e
parentdf53f8d6f1e6379a9f467ec8cf3b5b0308627022
ibus-candidate-popup: Scale coordinates from IBus

The coordinates are effectively in the windowing system coordinate
space, which when scaling Xwayland, we need to scale these. Do this with
the Meta.Window.protocol_to_stage() function on the focused window,
which handles it correctly for the corresponding windowing system and
configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3458>
js/ui/ibusCandidatePopup.js